﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_CusCargo_Detail.cs
// 创建时间：2016/11/30
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///客户商品价格详情(ERP_CusCargo_Detail)数据实体
	/// </summary>
	[Serializable]
	public class ERP_CusCargo_Detail
	{
		#region 变量定义
		
		///<summary>
		///详情ID
		///</summary>
		private int _detailId;
		
		///<summary>
		///商品ID
		///</summary>
		private int _cargoId;
		
		///<summary>
		///供应价格
		///</summary>
		private decimal _supplyprice;
		
		///<summary>
		///录入人
		///</summary>
		private string _inUser = String.Empty;
		
		///<summary>
		///录入时间
		///</summary>
		private string _inDate = String.Empty;
		
		///<summary>
		///1.现用；0.停用
		///</summary>
		private int _state;
		
		///<summary>
		///客户系统关键码
		///</summary>
		private string _sos_No = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///客户商品价格详情的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_CusCargo_Detail()
		{
 
		}
		///<summary>
		///客户商品价格详情
		///</summary>
		public ERP_CusCargo_Detail
		(
			int detailId,
			int cargoId,
			decimal supplyprice,
			string inUser,
			string inDate,
			int state,
			string sos_No
		)
		{
			_detailId    = detailId;
			_cargoId     = cargoId;
			_supplyprice = supplyprice;
			_inUser      = inUser;
			_inDate      = inDate;
			_state       = state;
			_sos_No      = sos_No;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///详情ID
		///</summary>
		public int DetailId
		{
			get {return _detailId;}
			set {_detailId = value;}
		}

		
		///<summary>
		///商品ID
		///</summary>
		public int CargoId
		{
			get {return _cargoId;}
			set {_cargoId = value;}
		}

		
		///<summary>
		///供应价格
		///</summary>
		public decimal Supplyprice
		{
			get {return _supplyprice;}
			set {_supplyprice = value;}
		}

		
		///<summary>
		///录入人
		///</summary>
		public string InUser
		{
			get {return _inUser;}
			set {_inUser = value;}
		}

		
		///<summary>
		///录入时间
		///</summary>
		public string InDate
		{
			get {return _inDate;}
			set {_inDate = value;}
		}

		
		///<summary>
		///1.现用；0.停用
		///</summary>
		public int State
		{
			get {return _state;}
			set {_state = value;}
		}

		
		///<summary>
		///客户系统关键码
		///</summary>
		public string Sos_No
		{
			get {return _sos_No;}
			set {_sos_No = value;}
		}
	
		#endregion
		
	}
}